<div class="<?php echo $include_file;?>">
	<table border="1" width="1000">
		<tr>
			<th>条形码</th>
			<th>图书名称</th>
			<th>图书类型</th>
			<th>出版社</th>
			<th>书架</th>
			<th>作者</th>
			<th>定价</th>
			<th>库存</th>
			<th>入库时间</th>
			<th>操作员</th>			
			<th>修改</th>
			<th>删除</th>
			
		</tr>
		<?php foreach($allbook as $book):?>
		<tr>
			<td><?php echo $book['barcode'];?></td>
			<td><?php echo $book['bookname'];?></td>
			<td><?php echo $book['typename'];?></td>
			<td><?php echo $book['pubname'];?></td>
			<td><?php echo $book['name'];?></td>
			<td><?php echo $book['author'];?></td>
			<td><?php echo $book['price'];?></td>
			<td><?php echo $book['storage'];?></td>
			<td><?php echo $book['inTime'];?></td>
			<td><?php echo $book['operator'];?></td>
			<td><a href='index.php?c=bookmanage&a=edit&id=<?php echo $book['id'];?>'>修改</a></td>
			<td><a href='index.php?c=bookmanage&a=delete&id=<?php echo $book['id'];?>' onclick="JavaScript:return confirm('确定要删除吗?')">删除</a></td>
		</tr>
		<?php endforeach;?>
	</table>
	<p><?php echo $pageinfo;?></p>
</div>